package connection;
import java.sql.Connection;
import java.sql.DriverManager;
public class MyConnection {
	
	public Connection con;
	public void connect()
	{
		try 
		{
			Class.forName("com.mysql.jdbc.Driver");
			con=DriverManager.getConnection("jdbc:mysql://localhost:3306/jwellerymgmt", "root", "password");
		} catch (Exception e) 
		{
			e.printStackTrace();
		}
	}

}
